package com.ktgj.service.service;

import java.util.List;

import com.ktgj.service.domain.OrderBoarding;
import com.ktgj.service.domain.OrderitemBoarding;

/**
 * 值机订单明细
Service接口
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public interface IOrderitemBoardingService 
{
    /**
     * 查询值机订单明细

     * 
     * @param orderitemboardingId 值机订单明细
ID
     * @return 值机订单明细

     */
    public OrderitemBoarding selectOrderitemBoardingById(Long orderitemboardingId);

    /**
     * 查询值机订单明细
列表
     * 
     * @param orderitemBoarding 值机订单明细

     * @return 值机订单明细
集合
     */
    public List<OrderitemBoarding> selectOrderitemBoardingList(OrderitemBoarding orderitemBoarding);

    /**
     * 新增值机订单明细

     * 
     * @param orderitemBoarding 值机订单明细

     * @return 结果
     */
    public int insertOrderitemBoarding(OrderitemBoarding orderitemBoarding);

    /**
     * 修改值机订单明细

     * 
     * @param orderitemBoarding 值机订单明细

     * @return 结果
     */
    public int updateOrderitemBoarding(OrderitemBoarding orderitemBoarding);

    /**
     * 批量删除值机订单明细

     * 
     * @param orderitemboardingIds 需要删除的值机订单明细
ID
     * @return 结果
     */
    public int deleteOrderitemBoardingByIds(Long[] orderitemboardingIds);

    /**
     * 删除值机订单明细
信息
     * 
     * @param orderitemboardingId 值机订单明细
ID
     * @return 结果
     */
    public int deleteOrderitemBoardingById(Long orderitemboardingId);

    /**
     * 值机订单   查看详情（附加备注保存）
     * @param orderboardingId  值机订单ID
     * @param remark  备注
     * @return 结果
     * */
    public int updateOrderBoardingByOrderBoarding(Long orderboardingId,String remark);

    /**
     * 值机订单合销
     * @param count 传入的乘机人数量
     * @param orderboardingId 值机订单详细表  订单ID
     * @return 结果
     * */
    public int updateOrderitemBoardingByStatus(int count,Long orderboardingId);
}
